<?php
namespace Nawa\Survey\Question\Answer;
/**
 * Question Type
 *
 * It represant a type of question
 *
 * @author Xavier VILAIN
 * @package Nawa\Survey\Question
 * @license
 *
 * @property int	$type			Type id (4)
 * @property string	$label			Label
 * @property bool	$standard		Is a standard type (can't be deleted)
 * @property bool	$active			Is an active type (can be selected)
 * @property string	$reference		Fox\Html\Object Reference
 */
class Type extends \Fox\Object {

	/**
	 * To standardize the creation/update
	 * @return string label
	 */
	public function label() {
		return $this->label;
	}
}
\Fox\Dao::infos(Type::className(),
new \Fox\Object\Info('survey_question_answer_types', \Fox\Databases::DB_APP)
);